﻿using UnityEngine;
using System.Collections;

namespace net{
	public class OnBulletCreate : MonoBehaviour {


		void OnNetworkInstantiate(NetworkMessageInfo info){
			if(networkView.isMine){
				Debug.Log(" is mine");
				
			}
			else{
				Debug.Log(" not mine");
				 GetComponent<NetBomb>().enabled = false;
				 GetComponent<BoxCollider2D>().enabled = false;

			//	this.enabled = false;
			}
			
			
		}
	}
}